home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
051-075
/
scopedisk64
/
microray
/
uray.dat
< prev
next >
Wrap
Text File
|
1995-03-19
|
5KB
|
112 lines
/************************************************************************
* *
* Copyright (c) 1988, David B. Wecker *
* All Rights Reserved *
* *
* This file is part of DBW_uRAY *
* *
* DBW_uRAY is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY. No author or distributor accepts *
* responsibility to anyone for the consequences of using it or for *
* whether it serves any particular purpose or works at all, unless *
* he says so in writing. Refer to the DBW_uRAY General Public *
* License for full details. *
* *
* Everyone is granted permission to copy, modify and redistribute *
* DBW_uRAY, but only under the conditions described in the *
* DBW_uRAY General Public License. A copy of this license is *
* supposed to have been given to you along with DBW_uRAY so you *
* can know your rights and responsibilities. It should be in a file *
* named COPYING. Among other things, the copyright notice and this *
* notice must be preserved on all copies. *
************************************************************************
* *
* Authors: *
* DBW - David B. Wecker *
* *
* Versions: *
* V1.0 881023 DBW - First released version *
* V1.1 881110 DBW - Fixed scan coherence code *
* V1.2 881125 DBW - Removed ALL scan coherence code (useless) *
* added "fat" extent boxes *
* *
************************************************************************/
/**** Input for micro ray tracer ****/
DEPTH 20 /* maximum recursion depth */
#COLS 512 /* width */
#ROWS 512 /* height */
#START 0 /* row to start at */
#END 512 /* row to end with */
#BPP 24 /* bits per pixel (12 or 24 or 0 (== no .tmp file)) */
#AOV 45 /* angle of view in degrees */
#ASPECT 1 /* aspect ratio (cols/rows ((512/512) * (30cm/30cm))) */
COLS 352 /* width (overscanned) */
ROWS 464 /* height (overscanned) */
START 0 /* row to start at */
END 464 /* row to end with */
BPP 0 /* bits per pixel (12 or 24 or 0 (== no .tmp file)) */
AOV 60 /* angle of view in degrees */
ASPECT .544 /* aspect ratio (cols/rows ((320/400) * (17cm/25cm))) */
NEAR 0 0 1 /* ambient (background) lighting (near 0,0,0) */
FAR 1 0 .5 /* ambient (background) lighting (far from 0,0,0) */
GROUND .6 .3 .3 /* ambient (background) lighting (below 0,0,0) */
BASE .05 /* minimum diffuse percentage (ambient lighting) */
/*******************************************************************
center = origin of the wave
amp = starting amplitude (.1 = small, 1 = large)
phase = starting phase (0 = 0, .5 = 180, 1 = 360 degrees)
length = wavelength
damp = damping factor (1 = no damp, .7 = 70%)
*******************************************************************/
/**** center amp phase length damp
WAVES 1
0 -8 50 5 0 10 .7
/*******************************************************************
Kd = diffuse factor
Ks = specular factor
Kt = transmission factor
Ir = index of refraction (for transmission). 1.0 = none
Kl = self lighting factor
Kf = fuzz factor (0 = none, 1 = max)
Wave = wave # or -1 = no waves or -2 = all waves
For a light source, dist == 0.0 means that there is no inverse square law
Textures:
0 none
1 r g b x y z checkerboard (alt color = r g b, scale = x y z)
2 r g b random mottled (alt color = r g b)
3 r g b a b c X axis blend (alt color = r g b, X range= a - b - c)
4 r g b a b c Y axis blend (alt color = r g b, Y range= a - b - c)
5 r g b a b c Z axis blend (alt color = r g b, Z range= a - b - c)
*******************************************************************/
/**** color Kd Ks Kt Ir Kl dist Kf Wave tex (rgb) (coord) ****/
ATTRIBUTES 7
1 .5 0 1 0 0 1 0 0 .1 -1 0
1 0 0 .2 .8 0 1 0 0 0 -1 0
1 1 1 0 .1 .9 1.8 0 0 0 -1 0
1 1 1 0 0 0 1 1 0 0 -1 0
.07 .07 .3 .8 .2 0 1 0 0 0 0 0
1 .5 0 .9 .1 0 1 0 0 0 -1 1 1 .7 .5 .3 .3 .3
1 1 1 0 0 0 1 1 0 0 -1 4 0 0 0 0 2 4
SPHERE 6 -7 2 32 2 /* left back y axis blend */
SPHERE 0 9 4 32 2 /* right back diffuse/fuzzy */
SPHERE 1 1 3 26 4 /* center mirror */
SPHERE 2 -2 -1 16 2 /* left front transparent */
SPHERE 5 3 -1 16 2 /* right front checked */
SPHERE 3 -15 15 10 6 /* light source */
QUAD 4 -100 -8 -100 0 0 1100 200 0 0 /* ground (wavy) */